package id.net.iconpln.bb.client.tools;

import com.google.gwt.core.client.JavaScriptObject;

public final class FusionMaps extends JavaScriptObject {

		  protected FusionMaps( ) {

		  }
		  
		  public static native FusionMaps getMap( String swf, String width, String height ) /*-{

		    var map = new $wnd.PowerMap( swf, "Map1Id", width, height, "0", "1" );
		    return map;
		  }-*/;
		  public native void setTransparent(boolean s) /*-{
		  	if (s == true){ 
			  this.addParam("WMode", "Transparent");
		  	}
		  }-*/;		  
		  public native void setDataUrl( String url ) /*-{

		    this.setDataURL( url );

		  }-*/;

		  public native void setDataXml( String xml ) /*-{
     		this.setDataXML(xml);

		  }-*/;

		  public native void render( String divId ) /*-{

		    this.render( divId );       

		  }-*/;
}
